import request from '../utils/request';

/**
 * 登陆
 * @param query
 * @returns {AxiosPromise}
 */
export const loginIn = query => {
    return request({
        url: 'rest/userLogin/login',
        method: 'POST',
        data: query
    });
};